<?php
	
// 权限列表
return [
	'order' => [
		'name' => '订单管理',
		'auth' => [
			'web'            => ['controller' => 'App\Http\Controllers\Admin\OrderController@index', 'name' => '网站管理'],
			'web-create'      => ['controller' => 'App\Http\Controllers\Admin\OrderController@create-store', 'name' => '添加网站'],
			'web-show'        => ['controller' => 'App\Http\Controllers\Admin\OrderController@show', 'name' => '查看网站'],
			'web-edit'        => ['controller' => 'App\Http\Controllers\Admin\OrderController@edit-update', 'name' => '修改网站'],
			'web-renew'       => ['controller' => 'App\Http\Controllers\Admin\RenewController@create-store', 'name'=> '网站续费'],
			'web-delete'      => ['controller' => 'App\Http\Controllers\Admin\OrderController@destroy', 'name'=> '网站删除'],
			'web-permission'  => ['controller' => 'App\Http\Controllers\Admin\OrderController@getWebPermission-postWebPermission', 'name'=> '网站权限'],
			'web-import'      => ['controller' => 'App\Http\Controllers\Admin\OrderController@import', 'name'=> '网站导出Excel'],
			'order-manager'   => ['controller' => 'App\Http\Controllers\Admin\OrderController@getManager', 'name' => '订单管理'],
			'myorder'         => ['controller' => 'App\Http\Controllers\Admin\OrderController@myorder', 'name' => '我的网站'],
			'myinput'         => ['controller' => 'App\Http\Controllers\Admin\OrderController@myInput', 'name' => '我的录入'],
			'progress-tongji' => ['controller' => 'App\Http\Controllers\Admin\OrderController@progressTongji', 'name' => '订单进度统计'],
			'renew'           => ['controller' => 'App\Http\Controllers\Admin\RenewController@index', 'name' => '续费记录'],
			'renew-edit'      => ['controller' => 'App\Http\Controllers\Admin\RenewController@edit-update', 'name' => '修改续费'],
			'order-status-change' => ['controller' => 'App\Http\Controllers\Admin\OrderController@statusChange', 'name' => '订单状态改变'],
  		],
	],

	'customer' => [
		'name' => '客户管理',
		'auth' => [
			'customer' 	        => ['controller' => 'App\Http\Controllers\Admin\CustomerController@index', 'name' => '客户管理'],
			'customer-edit' 	=> ['controller' => 'App\Http\Controllers\Admin\CustomerController@edit-update', 'name' => '客户修改'],
			'customer-delete' 	=> ['controller' => 'App\Http\Controllers\Admin\CustomerController@destroy', 'name' => '客户删除'],
			'customer-show' 	=> ['controller' => 'App\Http\Controllers\Admin\CustomerController@show', 'name' => '客户详细'],
			'customer-move' 	=> ['controller' => 'App\Http\Controllers\Admin\CustomerController@move', 'name' => '客户转移'],
			'contract'          => ['controller' => 'App\Http\Controllers\Admin\ContractController@index', 'name' => '合同管理'],
			'contract-create'   => ['controller' => 'App\Http\Controllers\Admin\ContractController@create-store', 'name' => '合同添加'],
			'contract-edit'     => ['controller' => 'App\Http\Controllers\Admin\ContractController@edit-update', 'name' => '合同修改'],
			'contract-delete'   => ['controller' => 'App\Http\Controllers\Admin\ContractController@destroy', 'name' => '合同删除'],
			'customer-load'     => ['controller' => 'App\Http\Controllers\Admin\CustomerController@loadPull', 'name' => '拉取客户信息'],
			'customer-note'     => ['controller' => 'App\Http\Controllers\Admin\CustomerNoteController@index', 'name' => '客户笔记'],
			'customer-note-create' => ['controller' => 'App\Http\Controllers\Admin\CustomerNoteController@create-store', 'name' => '添加客户笔记'],
			'customer-note-edit'   => ['controller' => 'App\Http\Controllers\Admin\CustomerNoteController@edit-update', 'name' => '更新客户笔记'],
			'customer-note-delete' => ['controller' => 'App\Http\Controllers\Admin\CustomerNoteController@destroy', 'name' => '删除客户笔记'],

		],
	],

	'user' => [
		'name' => '用户管理',
		'auth' => [
			'user'         => ['controller' => 'App\Http\Controllers\Admin\UserController@index', 'name' => '用户管理'],
			'user-create'  => ['controller' => 'App\Http\Controllers\Admin\UserController@create-store', 'name' => '用户添加'],
			'user-edit'    => ['controller' => 'App\Http\Controllers\Admin\UserController@edit-update', 'name' => '用户修改'],
			'user-delete'  => ['controller' => 'App\Http\Controllers\Admin\UserController@destroy', 'name' => '用户删除'],
			'group'        => ['controller' => 'App\Http\Controllers\Admin\GroupController@index', 'name' => '用户组'],
			'group-create' => ['controller' => 'App\Http\Controllers\Admin\GroupController@create-store', 'name' => '用户组添加'],
			'group-edit'   => ['controller' => 'App\Http\Controllers\Admin\GroupController@edit-update', 'name' => '用户组修改'],
			'group-delete' => ['controller' => 'App\Http\Controllers\Admin\GroupController@destroy', 'name' => '用户组删除'],
			'department'   => ['controller' => 'App\Http\Controllers\Admin\DepartmentController@index', 'name' => '部门'],
			'department-create'  => ['controller' => 'App\Http\Controllers\Admin\DepartmentController@create-store', 'name' => '部门添加'],
			'department-edit'    => ['controller' => 'App\Http\Controllers\Admin\DepartmentController@edit-update', 'name' => '部门修改'],
			'department-delete'  => ['controller' => 'App\Http\Controllers\Admin\DepartmentController@destroy', 'name' => '部门删除'],
			'edit-info-edit'     => ['controller' => 'App\Http\Controllers\Admin\UserController@editInfo', 'name' => '个人资料修改'],
			'department-update-manager' => ['controller' => 'App\Http\Controllers\Admin\DepartmentController@updateManager', 'name' => '更新部门主管'],
		],
	],

	'menu' => [
		'name' => '菜单管理',
		'auth' => [
			'menu'         => ['controller' => 'App\Http\Controllers\Admin\MenuController@index', 'name' => '菜单管理'],
			'menu-create'  => ['controller' => 'App\Http\Controllers\Admin\MenuController@create-store', 'name' => '菜单添加'],
			'menu-edit'    => ['controller' => 'App\Http\Controllers\Admin\MenuController@edit-update', 'name' => '菜单修改'],
			'menu-delete'  => ['controller' => 'App\Http\Controllers\Admin\MenuController@destroy', 'name' => '菜单删除'],
		],
	],

	'other-order' => [
		'name' => '其他订单',
		'auth' => [
			'other-order'         => ['controller' => 'App\Http\Controllers\Admin\OtherOrderController@index', 'name' => '其他订单管理'],
			'other-order-create'  => ['controller' => 'App\Http\Controllers\Admin\OtherOrderController@create-store', 'name' => '其他订单添加'],
			'other-order-edit'    => ['controller' => 'App\Http\Controllers\Admin\OtherOrderController@edit-update', 'name' => '其他订单修改'],
			'other-order-delete'  => ['controller' => 'App\Http\Controllers\Admin\OtherOrderController@destroy', 'name' => '其他订单删除'],
		],
	],

	'other' => [
		'name' => '其他',
		'auth' => [
			'lan'        		  => ['controller' => 'App\Http\Controllers\Admin\LanCompleteController@index', 'name' => '语言版本管理'],
			'lan-create'  		  => ['controller' => 'App\Http\Controllers\Admin\LanCompleteController@create-store', 'name' => '语言版本添加'],
			'lan-edit'    		  => ['controller' => 'App\Http\Controllers\Admin\LanCompleteController@edit-update', 'name' => '语言版本修改'],
			'lan-delete'  		  => ['controller' => 'App\Http\Controllers\Admin\LanCompleteController@destroy', 'name' => '语言版本删除'],
			'contract-customer'   => ['controller' => 'App\Http\Controllers\Admin\ContractController@getContractsByCustomer', 'name' => '查看客户合同编号'],
			'order-tag'   		  => ['controller' => 'App\Http\Controllers\Admin\OrderController@tag', 'name' => '订单设置标签'],
		],
	],

];